package com.baking.model;

import com.baking.util.BaseModel;

import java.math.BigDecimal;

/**
 * @Author:wrb
 * @Date :2020/1/9/20:19
 * @Describtion:
 **/
public class Product extends BaseModel {
    private Integer productId;
    private String productName;
    private BigDecimal price;
    private String img;
    private Integer num;
    private String data;

    public BigDecimal getPrice() {
        return price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }


    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", img='" + img + '\'' +
                '}';
    }
}
